package com.hskn.hss.module.tlemployee.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hskn.hss.entity.TreeEntity;
import com.hskn.hss.module.rptEmployeeWork.entity.RptEmployeeWork;
import com.hskn.hss.module.statistics.vo.TlEmployeeVo;
import com.hskn.hss.module.tlemployee.entity.TIEmployeeResult;
import com.hskn.hss.module.tlemployee.entity.TlEmployee;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hskn
 * @since 2021-05-15
 */
public interface TlEmployeeMapper extends BaseMapper<TlEmployee> {
    public List getSelectList();

    public List getuserList();

    public Page<TlEmployee> listTlEmployee(Page<TlEmployee> page, Map map);

    public List<TreeEntity> getEmplTree();

    public List getWorkerType(Map map);

    public List getAge(Map map);

    public List<TlEmployeeVo> getSeriesData(Map map);

    List<Map<String, Object>> getEmployeeInfo(String id);

//    List<WorkPlan> selectWorkPlanByPersonId(@Param("personId") String personId);
//
//    List<WorkPlan> selectWorkPlanAndWorkGroupByPersonId(WorkPlan workPlan);

    List<RptEmployeeWork> selectRptEmployeeWorkByPersonId(RptEmployeeWork employeeWork);

    List<TlEmployee> getEmployeeByDepartId(@Param("empldeptid") String empldeptid);

    List<TIEmployeeResult> getNumByWorkType(Map map);

    List getSumOnlineStatus();

}
